<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ include file="/WEB-INF/view/include.jsp"%>
<%@page import="ae.pcfc.etks.online.itworx.ehs.web.constants.GlobalConstants" %>

<form:form modelAttribute="<%=GlobalConstants.OFC_REQUEST%>" name="createRequest" id="createRequest" method="POST" action="/ehs-online/officer/createRequest.htm">
		
		
		<!--<spring:hasBindErrors
			name="<%=GlobalConstants.OFC_REQUEST %>">
			<script type="text/javascript">
				$(document)
						.ready(
								function() {
									jAlert(
											'error',
											'<li><form:errors path="*" delimiter="<li>"/>',
											'<spring:message code="label.errormessage" />');
								});
			</script>
		</spring:hasBindErrors>
		
		<% if(request.getAttribute(GlobalConstants.SUCCESS_PARAM) != null) {%>
		<script type="text/javascript">
				$(document)
						.ready(
								function() { 
									jAlert(
											'success','<spring:message code="label.success.createrequest" />',
											'<spring:message code="msg.success" />');
								});
			</script>			
		<% }  %>
		
	<div id=accordion1>
		 
	
	<div>
		
		<br>
		 -->
		 <
		 <div class="fm-req">	
				    <label>Requested By: </label>
					<form:input  path="requestedBy" size="30" maxlength="100"/>	
				   
		</div>
		
			
	<br>
	
	<div class="fm-req">	
				    <label>Location: </label>
				    <form:input  path="location" size="30" maxlength="100"/>	
				   
		</div>
		<br>
		
			<div class="fm-req">	
				    <label>Main E-mail: </label>
					<form:input path="mainEmail" size="30" maxlength="100" />	
				    
			</div>
		
		<br>
		
		<div id="fm-submit" class="fm-req">
				<input type="submit" name="save" value="Save"/>
	  	</div>	
	</form:form>